package cn.hjc.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Dept implements Serializable {
    /* 字段*/
    private  Integer deptNo;//部门编号
    private  String deptName;//部门名称
    private  String location;//部门地址

    public Dept() {
    }


    public Set<Emp> getEmps() {
        return emps;
    }

    public void setEmps(Set<Emp> emps) {
        this.emps = emps;
    }

    private Set<Emp> emps = new HashSet<Emp>(); //部门员工的集合
    public Dept(Byte aByte){

    }
    public Integer getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(Integer deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }


}
